package com.scvtc.service.party;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.dto.party.PartyBaseDto;
import com.scvtc.domain.entity.party.PartyBase;
import com.scvtc.domain.vo.PageVo;

import java.util.List;


public interface PartyBaseService extends IService<PartyBase> {
    /**
     * 查询党员的所有信息
     *
     * @param current
     * @param size
     * @param partyBaseDto
     * @return
     */
    ResResult<PageVo<List<PartyBase>>> getAllPartyInfo(Long current, Long size, PartyBaseDto partyBaseDto);

    /**
     * 修改党员信息
     *
     * @param partyBaseDto
     * @return
     */
    ResResult<?> upDataPartInfo(PartyBaseDto partyBaseDto);

    /**
     * 新增党员
     *
     * @param partyBaseDto
     * @return
     */
    ResResult<?> addPartInfo(PartyBaseDto partyBaseDto);
}
